package myJs.user.mission

import myJs.Utils._
import scala.scalajs.js.Dynamic.{global=>g}
import myJs.user.mission.plot._

import scala.scalajs.js.annotation.{JSExport, JSExportTopLevel}


/**
 * Created by yz on 2019/4/25
 */
@JSExportTopLevel("BiomarkerResult")
object BiomarkerResult extends MissionResult {

  val formId = "form"

  @JSExport("init")
  def init = {
    refreshMissionInfo(getMissionId)
    refreshFileInfo(getMissionId)
    registerEvent

    selfInit

  }

  def selfInit = {
  }

  def getMissionId = {
    g.missionId.toString
  }

}
